package com.zed.code.mapping;


import com.zed.code.model.Devicestatusinfo;
import com.zed.code.model.DevicestatusinfoExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DevicestatusinfoMapper {
    long countByExample(DevicestatusinfoExample example);

    int deleteByExample(DevicestatusinfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Devicestatusinfo record);

    int insertSelective(Devicestatusinfo record);

    List<Devicestatusinfo> selectByExample(DevicestatusinfoExample example);

    Devicestatusinfo selectByPrimaryKey(Integer id);

    Devicestatusinfo selectByDeviceIdAndPort(@Param("DeviceId") String DeviceId, @Param("DevicePort") Byte DevicePort);

    int updateByExampleSelective(@Param("record") Devicestatusinfo record, @Param("example") DevicestatusinfoExample example);

    int updateByExample(@Param("record") Devicestatusinfo record, @Param("example") DevicestatusinfoExample example);

    int updateByPrimaryKeySelective(Devicestatusinfo record);

    int updateByPrimaryKey(Devicestatusinfo record);
    List<Devicestatusinfo> selectByStationIdIn(@Param("StationIDs") List StationIDs);
}